//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-01B
TN_Widget.CreateTable([['Social Distortion & Bad Religion','The Theater at MGM National Harbor','Oxon Hill, MD','Friday','5/3/2024','7:00 PM','6149722','Social-Distortion---Bad-Religion-5-3-2024'],['DC Boat Show','National Harbor','Oxon Hill, MD','Saturday','5/4/2024','10:00 AM','6057248','DC-Boat-Show-5-4-2024'],['DC Boat Show','National Harbor','Oxon Hill, MD','Sunday','5/5/2024','10:00 AM','6057249','DC-Boat-Show-5-5-2024'],['Godsmack','The Theater at MGM National Harbor','Oxon Hill, MD','Sunday','5/5/2024','8:00 PM','6116308','Godsmack-5-5-2024'],['Marlon Wayans','The Theater at MGM National Harbor','Oxon Hill, MD','Saturday','5/11/2024','8:00 PM','6330527','Marlon-Wayans-5-11-2024'],['Stephanie Mills & Jeffrey Osborne','The Theater at MGM National Harbor','Oxon Hill, MD','Sunday','5/12/2024','8:00 PM','6216008','Stephanie-Mills---Jeffrey-Osborne-5-12-2024'],['Tye Tribbett','The Theater at MGM National Harbor','Oxon Hill, MD','Saturday','5/18/2024','7:30 PM','6305102','Tye-Tribbett-5-18-2024'],['Judas Priest','The Theater at MGM National Harbor','Oxon Hill, MD','Sunday','5/19/2024','7:30 PM','6084090','Judas-Priest-5-19-2024'],['R&B Money Tour: Tank & Keri Hilson','The Theater at MGM National Harbor','Oxon Hill, MD','Thursday','5/23/2024','8:00 PM','6325010','R-B-Money-Tour--Tank---Keri-Hilson-5-23-2024'],['R&B Money Tour: Tank & Keri Hilson','The Theater at MGM National Harbor','Oxon Hill, MD','Friday','5/24/2024','8:00 PM','6315050','R-B-Money-Tour--Tank---Keri-Hilson-5-24-2024'],['Corinne Bailey Rae & Dixon','The Theater at MGM National Harbor','Oxon Hill, MD','Saturday','6/22/2024','8:00 PM','6242221','Corinne-Bailey-Rae---Dixon-6-22-2024'],['The O'Jays','The Theater at MGM National Harbor','Oxon Hill, MD','Friday','6/28/2024','8:00 PM','6341834','The-O-Jays-6-28-2024'],['Steve Trevino','The Theater at MGM National Harbor','Oxon Hill, MD','Friday','7/12/2024','8:00 PM','6253949','Steve-Trevino-7-12-2024'],['Joey Fatone & AJ Mclean','The Theater at MGM National Harbor','Oxon Hill, MD','Saturday','7/20/2024','8:00 PM','6295305','Joey-Fatone---AJ-Mclean-7-20-2024'],['Girls Night Out Tour: Kierra Sheard, Naomi Raine, Koryn Hawthorne & Wande','The Theater at MGM National Harbor','Oxon Hill, MD','Thursday','7/25/2024','7:00 PM','6376568','Girls-Night-Out-Tour--Kierra-Sheard--Naomi-Raine--Koryn-Hawthorne---Wande-7-25-2024'],['An Evening of Icons: The Commodores, The Pointer Sisters & The Spinners','The Theater at MGM National Harbor','Oxon Hill, MD','Friday','7/26/2024','7:30 PM','6385561','An-Evening-of-Icons--The-Commodores--The-Pointer-Sisters---The-Spinners-7-26-2024'],['Fantasia','The Theater at MGM National Harbor','Oxon Hill, MD','Saturday','7/27/2024','8:00 PM','6329281','Fantasia-7-27-2024'],['Fantasia','The Theater at MGM National Harbor','Oxon Hill, MD','Sunday','7/28/2024','8:00 PM','6329282','Fantasia-7-28-2024'],['Lucky Daye','The Theater at MGM National Harbor','Oxon Hill, MD','Saturday','8/3/2024','8:00 PM','6414018','Lucky-Daye-8-3-2024'],['Earthquake','The Theater at MGM National Harbor','Oxon Hill, MD','Friday','8/30/2024','8:00 PM','6256149','Earthquake-8-30-2024'],['Young Miko','The Theater at MGM National Harbor','Oxon Hill, MD','Wednesday','9/4/2024','8:00 PM','6413999','Young-Miko-9-4-2024'],['Rickey Smiley','The Theater at MGM National Harbor','Oxon Hill, MD','Saturday','9/7/2024','8:00 PM','6266181','Rickey-Smiley-9-7-2024'],['Frankie Valli & The Four Seasons','The Theater at MGM National Harbor','Oxon Hill, MD','Saturday','9/28/2024','7:00 PM','6412585','Frankie-Valli---The-Four-Seasons-9-28-2024'],['Parker McCollum','The Theater at MGM National Harbor','Oxon Hill, MD','Thursday','10/10/2024','7:30 PM','6365141','Parker-McCollum-10-10-2024'],['The Price Is Right - Live Stage Show','The Theater at MGM National Harbor','Oxon Hill, MD','Saturday','10/12/2024','6:00 PM','6386227','The-Price-Is-Right---Live-Stage-Show-10-12-2024'],['The Price Is Right - Live Stage Show','The Theater at MGM National Harbor','Oxon Hill, MD','Sunday','10/13/2024','4:00 PM','6386228','The-Price-Is-Right---Live-Stage-Show-10-13-2024'],['Sting','The Theater at MGM National Harbor','Oxon Hill, MD','Tuesday','10/15/2024','8:00 PM','6314480','Sting-10-15-2024'],['Sting','The Theater at MGM National Harbor','Oxon Hill, MD','Wednesday','10/16/2024','8:00 PM','6327749','Sting-10-16-2024'],['Eddie Griffin','The Theater at MGM National Harbor','Oxon Hill, MD','Saturday','10/19/2024','8:00 PM','6370492','Eddie-Griffin-10-19-2024'],['Bill Maher','The Theater at MGM National Harbor','Oxon Hill, MD','Sunday','11/17/2024','8:00 PM','6276292','Bill-Maher-11-17-2024'],['Matt Rife','The Theater at MGM National Harbor','Oxon Hill, MD','Friday','11/22/2024','8:00 PM','6316101','Matt-Rife-11-22-2024'],['Matt Rife','The Theater at MGM National Harbor','Oxon Hill, MD','Saturday','11/23/2024','8:00 PM','6341413','Matt-Rife-11-23-2024'],['Air Supply','The Theater at MGM National Harbor','Oxon Hill, MD','Friday','11/29/2024','8:00 PM','6264392','Air-Supply-11-29-2024'],['Chico Bean','The Theater at MGM National Harbor','Oxon Hill, MD','Saturday','11/30/2024','8:00 PM','6399128','Chico-Bean-11-30-2024']],'National Harbor','http://www.ticketnetwork.com/ticket/National-Harbor-events.aspx');